﻿using Harmontronics.Model.Dto;
using Harmontronics.Model.Dto.Model;
using Harmontronics.Model.Entitys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Harmontronics.IService.Business
{
    public interface IPartService
    {
        public List<PartModel> MendingRange(List<Part> entities);
        public PartModel Mending(Part entity);
        //查询
        public List<Part> GetAllParts();
        public Part GetPartById(string id);
        public bool addPart(Part entity);
        public bool updatePart(Part model);
        public bool DeletePart(string id);
        public bool BatchDelPart(List<string> ids);
    }
}
